package com.xiaoyy.sso.core.service.impl;

import com.xiaoyy.sso.core.dao.model.SysRouterFunc;
import com.xiaoyy.sso.core.dao.mapper.SysRouterFuncMapper;
import com.xiaoyy.sso.core.dao.model.SysRouterFuncResult;
import com.xiaoyy.sso.core.service.SysRouterFuncService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 路由功能表 服务实现类
 * </p>
 *
 * @author chenzh
 * @since 2020-06-17
 */
@Service
public class SysRouterFuncServiceImpl extends ServiceImpl<SysRouterFuncMapper, SysRouterFunc> implements SysRouterFuncService {


    @Override
    public List<SysRouterFuncResult> selectApiByRouter(String userId, String routerId) {
        return baseMapper.selectApiByRouter(userId,routerId);
    }
}
